var mongoose = require('mongoose')
mongoose.connect('mongodb://localhost/jiugu')
var Schema = mongoose.Schema
var collegeInfoSchema = new Schema({
	collegeId:{//版块号
		type:Number,
		required:true
	},
	collegeName:{//版块名称
		type: String,
		required:true
	},
	moderator:{ // 版主
		type: String,
		required: true
	}
})
module.exports = mongoose.model('collegeInfo',collegeInfoSchema)